package com.ithe.shopweb.serve;

import com.ithe.shopweb.pojo.resp.HomeResp;

import java.util.List;

public interface HomeServe {

    List<HomeResp> offerQuery(String offerLocal, String offerStyle, Double minPrice,
                              Double maxPrice, String offerDegree, String offerDiscount, Integer pageNum, Integer pageSize);

    List<HomeResp> offerSearch(String str, Integer pageNum, Integer pageSize);

    List<HomeResp> offerAll();

    Integer offerDelete(String offerID);

    Integer cartAdd(String offerID, String offerImage, String offerName,
                    String offerStyle, Double offerPrice, String offerLocal,
                    String offerDiscount, String offerDegree, Double finalPrice, String offerUser, String cartUser);
}
